package huanghui.netstorage.modle;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable 
{

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 9202458967830318776L;
	private Integer id;
	private String name;
	private String pwd;
	private String email;
	private String sex;
	private Integer age;
	private Set files = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String name, String pwd, String email, String sex, Integer age) {
		this.name = name;
		this.pwd = pwd;
		this.email = email;
		this.sex = sex;
		this.age = age;
	}

	/** full constructor */
	public User(String name, String pwd, String email, String sex, Integer age,
			Set files) {
		this.name = name;
		this.pwd = pwd;
		this.email = email;
		this.sex = sex;
		this.age = age;
		this.files = files;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Set getFiles() {
		return files;
	}

	public void setFiles(Set files) {
		this.files = files;
	}
	
	



}